public class Inbox
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.ArrayList<Conversation> |
conversations |
| Constructor and Description |
|---|
Inbox()
Instantiate a new inbox
|
| Modifier and Type | Method and Description |
|---|---|
int |
createConversation()
Create a new conversation with another User
|
void |
removeConversation(int id)
Remove a conversation with a particular User
|
private java.util.ArrayList<Conversation> conversations
public int createConversation()
public void removeConversation(int id)
id - the unique id of the conversation to be deleted